package api

import (
	"google.golang.org/grpc"

	address2 "gitee.com/enjoy_5/enjoy-wallet/proto/address"
	wallet2 "gitee.com/enjoy_5/enjoy-wallet/proto/wallet"

	"gitee.com/enjoy_5/enjoy-wallet/internal/api/address"
	"gitee.com/enjoy_5/enjoy-wallet/internal/api/wallet"
)

func Register(s *grpc.Server) {
	wallet2.RegisterWalletServer(s, &wallet.WalletService{})
	address2.RegisterAddressServer(s, &address.AddressService{})
}
